home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Musik / Misc / Amster / Source / include / navigator.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-01  |  896 b   |  44 lines

  1. /*
  2. ** Navigator header
  3. */
  4.  
  5. #ifndef AMSTER_NAVIGATOR_H
  6. #define AMSTER_NAVIGATOR_H
  7.  
  8. #define NAVI_CONNECT      0x1501
  9. #define NAVI_GETSERVER    0x1502
  10. #define NAVI_ADDSERVER    0x1503
  11. #define NAVI_REMOVESERVER 0x1504
  12. #define NAVI_SAVE         0x1505
  13. #define NAVI_MARKSERVER   0x1506
  14. #define NAVI_REDRAWSERVER 0x1507
  15. #define NAVI_LOAD         0x1508
  16. #define NAVI_GETNAPIGATOR 0x1509
  17.  
  18. /* Class instance data */
  19.  
  20. struct NavigatorData {
  21.     u_long *LV_Server, *ST_Server, *ST_Comment;
  22. };
  23.  
  24. struct ServerEntry {
  25.     char *Name;
  26.     char *Comment;
  27.     u_long LastOnline;
  28.     int Ping;
  29.     u_long Giga;
  30.     u_long Users;
  31.     u_long Songs;
  32. };
  33.  
  34. /* Public prototypes */
  35.  
  36. extern MUIF NavigatorDispatch(REG(a0) struct IClass *cl, REG(a2) Object *obj, REG(a1) Msg msg);
  37. extern ULONG NavigatorNew(struct IClass *cl, Object *obj, struct opSet *msg);
  38.  
  39. /* Public variables */
  40.  
  41. extern BOOL ServerListChanged;
  42.  
  43. #endif    /* AMSTER_NAVIGATOR_H */
  44.